package com.ly.system.service.question;

import com.ly.common.core.domain.TableDataInfo;
import com.ly.system.domain.question.dto.QuestionAddDTO;
import com.ly.system.domain.question.dto.QuestionEditDTO;
import com.ly.system.domain.question.dto.QuestionQueryDTO;
import com.ly.system.domain.question.vo.QuestionDetialVO;
import com.ly.system.domain.question.vo.QuestionVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IQuestionService {
    List<QuestionVO> list(QuestionQueryDTO questionQueryDTO);

    boolean add(QuestionAddDTO questionAddDTO);

    QuestionDetialVO detail(Long questionId);

    int edit(QuestionEditDTO questionEditDTO);
    int delete(Long questionId);
}
